:root {
  --pagination-width: calc(100% - 252px);
  --table-wrapper-min-height: 400px;
  --table-body-min-height: 220px;
  --table-fixed-body-height: unset;
  --pagination-margin-left: 0;
}

.ant-table-placeholder{
    height:calc(100vh - 345px); 
    .ant-table-cell {
      padding: 0 !important;
      .ant-table-expanded-row-fixed::after {
        display: none;
      }
    }
}
.ant-table-thead > tr > th.ant-table-column-sort {
  background: @rok-table-header-color;
}
.ant-table-tbody > tr > td.ant-table-column-sort {
  background: transparent;
}

.rok-base-table {
  &.fixed-pagination {
    margin-bottom: 55px; 
    min-height: var(--table-wrapper-min-height);
    background: @rok-white-bg;
    border-radius: 8px 8px 0 0;

    .ant-table {
      border-radius: 8px 8px 0 0;
      .ant-table-body {
        min-height: var(--table-body-min-height);
      }
      &.ant-table-fixed-header {
        .ant-table-body {
          height: var(--table-fixed-body-height);
        }
      }
    }

    .ant-table-placeholder {
      position: absolute;
      top: 56px;
      width: 100%;
      border: none;
    }

    ul.ant-pagination {
      padding: 16px;
      margin: 0;
      margin-left: var(--pagination-margin-left);
      position: fixed;
      bottom: 0;
      width: var(--pagination-width);
      height: 55px;
      background: white;
      border-top: 1px solid @rok-border-color-base;
      text-align: right;
      z-index: 3;

      .ant-select-dropdown {
        text-align: left;
      }
    }
  }
}